#!/bin/bash

echo "测试变量打印功能..."

# 创建测试输入脚本
cat > test_input.txt << 'EOF'
launch ./test_variable_types
print global_int_var
print global_double_var
print global_string_var
quit
EOF

echo "运行调试器测试..."
./debugger < test_input.txt

# 清理
rm -f test_input.txt

echo "测试完成"